package com.weixing.mall.provider.model.enums;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @Description 行政级别 <br/>
 * @author gjq
 * @date 2019/8/16 10:28
 */

@NoArgsConstructor
public enum AreaLevelEunm implements IBaseEnum<Integer> {
    //行政级别 1省/自治区/直辖市；2市级；3区级；4乡镇街道；
    LEVEl_0(0,"国家"),
    LEVEl_1(1,"省级"),
    LEVEl_2(2,"市级"),
    LEVEl_3(3,"区级"),
    LEVEl_4(4,"乡镇街道");
    private int value;
    private String desp;

    AreaLevelEunm(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
